package com.zhj.psi.web.repository;

import com.zhj.psi.web.entity.Role;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by zhuhuijun on 2017/8/31 17:13
 */
public interface RoleDao extends JpaRepository<Role, Long> {
    List<Role> findByUserid(Long userid);
}
